home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
wndwc20.zip
/
EX1.C
next >
Wrap
Text File
|
1989-03-06
|
538b
|
18 lines
/* EXAMPLE 1: Your first window
----------------------------------------------------------------------*/
#include <stdio.h>
#include <conio.h>
#include <alloc.h>
#include "wndwc20.h"
void main()
{
qinit();
initwindow( LIGHTGRAY_BG, 1, 0 ); /* Initialize and clear window */
makewindow( 5, 20, 15, 40, WHITE+BLUE_BG, CYAN+BLUE_BG,
SINGLE_BORDER, AWINDOW );
wwritec( 7, "Making windows is easy!" );
getch();
}